﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using SklepISI.Core.Models;

namespace SklepISI.Core.Interfaces
{
    public interface IOrderService
    {
        OrderModel CreateOrder(NewOrderModel order);
        bool RemoveOrder(int orderId);
        OrderModel UpdateOrder(OrderModel order);
        

        OrderStatusModel GetOrderStatus(int orderId);
        IEnumerable<OrderContentModel> GetOrderProducts(int orderId);
        OrderModel GetOrder(int orderId);

        IList<OrderModel> GetUserOrders(int userId);

        IList<OrderModel> GetOrders();
        IList<OrderStatusModel> GetOrderStatuses();
        OrderStatusModel GetStatus(int statusId);

    }
}
